package com.android.videotest.music;

import android.support.v4.media.session.PlaybackStateCompat;

/**
 * 侦听器，用于提供从{@link MediaPlayerAdapter}（MediaPlayer）
 * 到{@link MusicService}（拥有我们的{@link android.support.v4.media.session.MediaSessionCompat}的服务）的状态更新。
 */
public abstract class PlaybackInfoListener {

    public abstract void onPlaybackStateChange(PlaybackStateCompat state);

    public void onPlaybackCompleted() {
    }
}